Skip to content

chore: next 16 turbopack 빌드 전환#534

Merged
manNomi merged 3 commits into
chore/web-react-19-upgradefrom
chore/web-next16-turbopack-compat
May 27, 2026
Merged

chore: next 16 turbopack 빌드 전환#534
manNomi merged 3 commits into
chore/web-react-19-upgradefrom
chore/web-next16-turbopack-compat

Conversation

@manNomi
Copy link
Copy Markdown
Contributor

@manNomi manNomi commented May 26, 2026

관련 이슈

작업 내용

  • apps/web의 production build를 next build --webpack에서 Next 16 기본 next build로 되돌렸습니다.
  • Turbopack에서도 기존 SVG React 컴포넌트 import가 동작하도록 next.config.mjsturbopack.rules를 추가했습니다.
  • @svgr/webpack을 Turbopack loader로 연결해 기존 @svgr/webpack 기반 SVG 사용 방식을 유지합니다.

특이 사항

  • 이 PR은 chore: 웹 React 19 업그레이드 #533 위에 얹힌 stacked PR입니다. #533이 먼저 머지되면 이 PR을 main 기준으로 retarget하거나 그대로 이어서 머지하면 됩니다.
  • npm 기준 최신 Next는 이미 #533의 16.2.6이라 추가 버전 상승은 없습니다. 이 PR은 Next 16 기본 빌더인 Turbopack 호환성 전환입니다.

리뷰 요구사항 (선택)

  • Turbopack rules 설정이 기존 SVG import 사용처와 호환되는지 중점적으로 봐주세요.

검증

  • pnpm --filter @solid-connect/web build
  • pnpm --filter @solid-connect/web lint:check
  • pnpm --filter @solid-connect/web typecheck
  • pnpm --filter @solid-connect/web ci:check
  • push hook CI parity checks 통과(web/admin ci:check 및 build)

@manNomi manNomi requested review from enunsnv and wibaek as code owners May 26, 2026 16:39
@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
solid-connection-web Ready Ready Preview, Comment May 27, 2026 6:12am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
solid-connect-web-admin Skipped Skipped May 27, 2026 6:12am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 1d74afb8-ba1e-4bad-b8e5-67c97bb16c00

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/web-next16-turbopack-compat

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@manNomi
Copy link
Copy Markdown
Contributor Author

manNomi commented May 26, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f18f9b85ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/web/package.json Outdated
"typecheck:ci": "tsc --noEmit -p tsconfig.ci.json",
"ci:check": "pnpm run lint:check && pnpm run typecheck:ci",
"analyze": "ANALYZE=true next build --webpack"
"analyze": "ANALYZE=true next build"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve analyzer script with a compatible bundler

Changing analyze to ANALYZE=true next build breaks the intended bundle-report workflow because this repo uses @next/bundle-analyzer in next.config.mjs, and that plugin is webpack-based while Turbopack does not run webpack plugins. In practice, running the analyze script after this commit will no longer produce the analyzer report that previously appeared with next build --webpack, so size-regression checks become silently ineffective.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다. 기본 build는 Turbopack(next build)으로 유지하고, @next/bundle-analyzer가 webpack plugin 기반인 점을 고려해 analyzeANALYZE=true next build --webpack으로 되돌렸습니다. pnpm --filter @solid-connect/web analyze도 실행해 .next/analyze/{client,nodejs,edge}.html 리포트 생성까지 확인했습니다.

@manNomi
Copy link
Copy Markdown
Contributor Author

manNomi commented May 26, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f548ec516e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/web/package.json
"scripts": {
"dev": "next dev",
"build": "next build --webpack",
"build": "next build",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore --webpack in the build script

Switching apps/web to "build": "next build" enables Turbopack by default in Next 16, but this app still defines a custom webpack function in apps/web/next.config.mjs (lines 59-83). In this configuration, next build fails when a webpack config is present, so the standard pnpm --filter @solid-connect/web build path can break in CI/release builds. Keep --webpack until the webpack block is removed/migrated, or explicitly migrate to a Turbopack-only config path.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다. build를 다시 webpack으로 되돌리면 이번 PR의 Turbopack 전환 목표가 사라져서, 일반 빌드에서는 커스텀 webpack 설정을 노출하지 않도록 ANALYZE=true일 때만 webpack 설정을 붙이게 분리했습니다. 기본 pnpm --filter @solid-connect/web buildNext.js 16.2.6 (Turbopack) 경로로 통과했고, pnpm --filter @solid-connect/web analyzenext build --webpack 경로로 .next/analyze/{client,nodejs,edge}.html 리포트 생성까지 확인했습니다.

@vercel vercel Bot temporarily deployed to Preview – solid-connect-web-admin May 27, 2026 06:10 Inactive
@manNomi
Copy link
Copy Markdown
Contributor Author

manNomi commented May 27, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@manNomi manNomi merged commit 0509ae2 into chore/web-react-19-upgrade May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant